home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gWhichSound3, gLastLoop
- set the volume of sound 12 to 0
- puppetSprite(8, 1)
- if the foreColor of sprite 8 = 255 then
- undoLoop()
- set the foreColor of sprite 8 to 226
- set gWhichSound3 to getpn() & "Sounds:Loops:Loop1.aif"
- sound playFile 4, gWhichSound3
- set gLastLoop to 4
- else
- set the foreColor of sprite 8 to 255
- set gWhichSound3 to EMPTY
- sound stop 4
- set gLastLoop to 0
- end if
- updateStage()
- end
-